import { ReactNode } from 'react';
import { NavigateFunction } from 'react-router-dom';

interface IRoute {
  path: string;
  element: ReactNode;
  name: string;
  children?: IRoute[];
  auth?: (navigate: NavigateFunction) => boolean;
}

export default IRoute;